<?php
/**
 * Created by PhpStorm.
 * User: kun
 * Date: 23/6/19
 * Time: 18:23
 */

namespace app\common\validate;

use think\Validate;

class User extends Validate
{
    protected $rule = [
        'image|头像图片' => 'url',
        'sex|性别' => 'number',
        'username|用户名' => 'unique:user|max:20',
        'signature|个性签名' => 'max:50',
    ];

}